﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="OnlineService" Object="OnlineService" InnerID="Request.QueryString['ID']" Validate="True" />
<section data-page="online_service_edit" data-title="编辑在线客服" data-lang="<%=ContentLang%>" data-id="<%=Request.QueryString['ID']%>" data-type="<%=OnlineService[Type]%>">
	<dl class="path1">
		<dt><span>您的位置：</span><a href="list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">在线客服列表</a> → <b class="<%=ContentLang%>Font"><%=OnlineService[Name]%></b></dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<form action="" class="post">
		<div class="post-body">
            <table class="post-table margin2">
				<tr width="140">
					<th>类型：</th>
					<td>
						<select name="Type" data-class="<%=ContentLang%>Font" data-ali-widget="combo">
						   <option value="QQ">QQ</option>
							<option value="WW">阿里旺旺</option>
							<option value="Phone">电话</option>
						</select>
					</td>
				</tr>
				<tr>
					<th>名称：</th>
					<td><input type="text" name="Name" value="<%=OnlineService[Name]%>" size="30" maxlength="50" class="ali-input <%=ContentLang%>Font"></td>
				</tr>
				<tr>
					<th>账号：</th>
					<td><input type="text" name="Account" value="<%=OnlineService[Account]%>" size="40" class="ali-input <%=ContentLang%>Font"></td>
				</tr>
			</table>		
        </div>
		<div class="post-footer"><button type="submit" class="ali-button">保 存</button></div>
	</form>
</section>